package com.telecom.cms.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class LatnchangeAction extends Action {

	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		// TODO Auto-generated method stub
		String latn_id = request.getParameter("selectlatnid");
		String billing_cycle_y =request.getParameter("billing_cycle_y");
		String billing_cycle_m =request.getParameter("billing_cycle_m");
		request.getSession().setAttribute("selectlatnid", latn_id);
		request.getSession().setAttribute("billing_cycle_y", billing_cycle_y);
		request.getSession().setAttribute("billing_cycle_m", billing_cycle_m);
	//	System.out.println(latn_id);

		return mapping.findForward("success");
	}

}
